package com.hualan.sfzyproject.mapper;

import com.hualan.sfzyproject.domain.PrivateMessage;

import java.util.List;

/**
* @author 86187
* @description 针对表【private_message(私信表)】的数据库操作Mapper
* @createDate 2025-01-08 15:22:51
* @Entity com.hualan.sfzyproject.domain.PrivateMessage
*/
public interface PrivateMessageMapper {

    int deleteByPrimaryKey(Integer sixinId);

    int insert(PrivateMessage record);

    int insertSelective(PrivateMessage record);

    PrivateMessage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrivateMessage record);

    int updateByPrimaryKey(PrivateMessage record);

    List<PrivateMessage>  selectByConsultantId(Integer consultantId);

    List<PrivateMessage>  selectByUserId(Integer userId);

}
